import { addons } from 'storybook/manager-api';
import 'storybook-i18n/manager';
import { themes, create } from 'storybook/theming';
import logo from '../public/logo.svg';

const theme = create({
    base: 'light',
    brandTitle: 'CUI-Svelte',
    brandImage: logo,
    brandTarget: '_self',
});

const darkTheme = create({
    base: 'dark',
    brandTitle: 'CUI-Svelte',
    brandImage: logo,
    brandTarget: '_self',

    colorPrimary: '#232429',
    colorSecondary: '#585C6D',
});

addons.setConfig({
    theme: darkTheme,
});